package hu.debrecen.adastra.card.service.domain;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

public class PlayerState implements Serializable {

	private static final long serialVersionUID = 1L;

	private List<Card> hand = new LinkedList<Card>();

	private List<Card> taken = new LinkedList<Card>();

	public PlayerState() {
		super();
	}

	public PlayerState(final List<Card> hand) {
		super();
		this.hand = hand;
	}

	public List<Card> getHand() {
		return this.hand;
	}

	public void setHand(final List<Card> hand) {
		this.hand = hand;
	}

	public List<Card> getTaken() {
		return this.taken;
	}

	public void setTaken(final List<Card> taken) {
		this.taken = taken;
	}

	public void removeCard(final Card card) {
		this.hand.remove(card);
	}

}